<?php
/**
 * Geneone: Content Management Framework
 * Example Dynamic Object
 *
 * http://geneone.neondragon.net/
 *
 * @package Geneone
 * @author Khlo
 * @version 1.0
 * @copyright 2004-2006 Geneone Development Team
 */
 
class Gene_Dynamic_Test {
	/**
	 * Reference to Gene_Object_Dynamic object.
	 */
	var $object;
	
	function call() {
		/* Title */
		$title = null;
		
		/* Content */
		$content = "<p>The current time is <strong>".date("r")."</strong>.</p>";
		
		/* Portlets */
		$portlets = array();
		
		$portlets[] = array(
			"title" => "Test Portlet",
			"content" => "Hey",
		);
				
		/* Send the information back */				
		return array(
			"title" => $title,
			"content" => $content,
			"portlets" => $portlets,
		);
	}
}
 
?>